package org.linlinjava.litemall.wx.dto;

import java.math.BigDecimal;

public class BonusInfo {
    public BonusInfo() {
        this.setMoney(new BigDecimal(0.00));
        this.setBonus(0);
        this.setMaxAvailableMoney(new BigDecimal(0.00));
        this.setReduceMoney(new BigDecimal(0.00));
        this.setCostBonusUnit(0);
        this.setAvailableBonus(0);
    }

    // 推荐使用积分
    private int bonus;
    // 推荐抵值金额
    private BigDecimal money;
    // 可用积分
    private int availableBonus;

    // 最高可抵金额
    private BigDecimal maxAvailableMoney;

    // 每消耗多少积分
    private int costBonusUnit;

    // 可抵多少钱
    private BigDecimal reduceMoney;

    public int getAvailableBonus() {
        return availableBonus;
    }

    public void setAvailableBonus(int availableBonus) {
        this.availableBonus = availableBonus;
    }

    public int getCostBonusUnit() {
        return costBonusUnit;
    }

    public void setCostBonusUnit(int costBonusUnit) {
        this.costBonusUnit = costBonusUnit;
    }

    public BigDecimal getReduceMoney() {
        return reduceMoney;
    }

    public void setReduceMoney(BigDecimal reduceMoney) {
        this.reduceMoney = reduceMoney;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getMaxAvailableMoney() {
        return maxAvailableMoney;
    }

    public void setMaxAvailableMoney(BigDecimal maxAvailableMoney) {
        this.maxAvailableMoney = maxAvailableMoney;
    }
}
